package com.bindatax.core.log;

import java.util.Properties;

public interface LogOutInterface {
    String TYPE_CONSOLE = "console";
    String TYPE_LOG4J = "log4j";
    String TYPE_PENTAHO = "pentaho";

    String getType();
    void init(Properties logConfig);
    void info(String msg);
    void info(String name,String msg);

    void info(String msg, Throwable t);
    void info(String name,String msg, Throwable t);

    void warn(String msg);
    void warn(String name,String msg);

    void warn(String msg, Throwable t);
    void warn(String name,String msg, Throwable t);

    void debug(String msg);
    void debug(String name,String msg);

    void debug(String msg, Throwable t);
    void debug(String name,String msg, Throwable t);

    void error(String msg);
    void error(String name,String msg);

    void error(String msg, Throwable t);
    void error(String name,String msg, Throwable t);
}
